package com.demo.core.context.event;

import org.springframework.context.ApplicationEvent;

import com.demo.core.context.RefreshModel;

/**
 * 刷新事件
 * @author ryuu.kk
 */
public abstract class RefreshEvent extends ApplicationEvent {

	/**
	 * 版本序列化ID
	 */
	private static final long serialVersionUID = -2159024236394888634L;
	
    public RefreshEvent(RefreshModel model) {
        super(model);
    }

    public RefreshModel getRefreshModel() {
        return (RefreshModel) super.getSource();
    }
}
